package org.smog.core.exception;

import lombok.Data;
import org.smog.core.config.security.SecurityConstant;

/**
 * 未认证异常,未登录,
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-14 11:20
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
@Data
public class UnauthorizedException extends BaseFriendlyException{
    public UnauthorizedException(String message) {
        super(message, SecurityConstant.UNAUTHORIZED_CODE);
    }
}
